import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export function createRouter() {
    return new Router({
        mode: 'history',
        routes: [{
            path: "/",
            name: "item",
            component: () =>
                import ("./src/item.vue"),
        }]
    })
}